package gui;

import javax.swing.*;
import java.awt.*;

public class MainView {

        JTabbedPane tabs;
       
        public MainView(){

                tabs = new JTabbedPane();
               
        JFrame frame = new JFrame("Western Style");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setResizable(false);
        //Add content to the window.
        frame.add(tabs, BorderLayout.CENTER);

  //      tabs.addTab("Customers", new CustomerTab());
//        tabs.addTab("Products", new OrderTab());
//        tabs.addTab("Storage", new StorageTab());
//        tabs.addTab("Suppliers", new SupplierTab());

        //Display the window.
        frame.pack();
        frame.setSize(800, 600);
        frame.setVisible(true);
        }
}

